<template>
  <div id="app">
   <loading v-if="this.$store.state.isShowLoading"></loading>
    <router-view/>
  </div>
</template>
<script>
import Loading from './components/Loding.vue'
export default {
  components:{
    Loading
  },
  mounted(){
    console.log(this.$store.state.isShowLoading);
  }
  
}
</script>
<style >
*{
  margin: 0;
  padding: 0;
}
</style>
